package com.zdj.email.entity;

import lombok.Data;

/**
 * html邮件数据模型
 */
@Data
public class HtmlEntity extends EmailEntity {
    public HtmlEntity()
    {

    }
    public HtmlEntity(TemplateEntity entity)
    {
        this.setBcc(entity.getBcc());
        this.setCc(entity.getCc());
        this.setContent(entity.getContent());
        this.setSubject(entity.getSubject());
        this.setToPerson(entity.getToPerson());
    }
}
